package com.spike.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.spike.model.User;

public interface UserService extends IService<User> {

    Integer register(User user);

    Boolean login(User user);

    Boolean update(Integer userId,User user);

    Boolean delete(Integer userId, Integer version);
}
